<template>
    <h5>当前鼠标点击的坐标为：{{ position.positionX }}，{{ position.positionY }}</h5>
</template>

<script>
import useMouseClickedPosition from '../hooks/useMouseClickedPosition'

export default {
    name: "Demo",
    setup() {
        const position = useMouseClickedPosition()

        return {
            position
        }
    },
};
</script>

<style></style>
